package com.donquijote.spring12.newApp.controller;

import com.donquijote.spring12.newApp.service.StudentService;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;



/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-23 20:37
 */
@Controller
public class StudentController {

    @Resource
    private StudentService studentService;

    public void addStudent(){
        studentService.insertStudent();
    }
}
